<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:p="http://primefaces.org/ui"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets">
<h:head>
	<link href="resources/css/login_style.css" rel="stylesheet"
		type="text/css" />
	<link href="resources/css/mystil/stil.css_" rel="stylesheet"
		type="text/css" />
	<link href="resources/css/mytheme.css" rel="stylesheet" type="text/css" />
	
	<!-- h:outputStylesheet library="css" name="login_style.css" />
	<h:outputStylesheet library="css/mystil" name="stil.css" /> 
	<h:outputStylesheet library="css" name="mytheme.css" /-->  
	</h:head>
<h:body>
	<h:form>
		<section class="container">
		<div class="login">
			<h1>#{appbundle.proje_adi}</h1>
			<p>
	 			<p:inputText value="#{userSessionBean.mail}" placeholder="#{appbundle.lbl_mail}" />
			</p>
			<p>
				<p:password value="#{userSessionBean.sifre}" placeholder="#{appbundle.lbl_sifre}" />
			</p>
			<p class="remember_me">
				<label> <h:selectBooleanCheckbox
						value="#{userSessionBean.hatirla}" />#{appbundle.lbl_beni_hatirla}
				</label>
			</p>
			<p class="submit">
				<p:commandButton value="#{appbundle.btn_tamam}" action="#{userSessionBean.login()}"
					update="@form" styleClass="btn100" />
			</p>
		</div>
		</section>
		<p:growl id="successMsg" showDetail="true" for="successMsg" />  
		<ui:include src="/includes/PopupMessages.xhtml" />
	</h:form>

</h:body>
</html>
